<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
        debug="false">

        <appender name="FILE" class="org.apache.log4j.FileAppender">
                <param name="Threshold" value="TRACE" />
                <param name="File" value="log/s5admin.log" />
                <param name="Append" value="false" />

                <layout class="org.apache.log4j.PatternLayout">
                        <param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
                </layout>
        </appender>


        <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
                <param name="Threshold" value="WARN" />
                <param name="Target" value="System.out" />

                <layout class="org.apache.log4j.PatternLayout">
                        <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n" />
                </layout>
        </appender>

        <category name="org.toxsoft">
                <priority value="TRACE" />
        </category>

        <category name="org.xnio">
                <priority value="ERROR" />
        </category>

        <category name="org.jboss">
                <priority value="ERROR" />
        </category>

        <category name="org.hornetq">
                <priority value="ERROR" />
        </category>

        <category name="io.netty">
                <priority value="ERROR" />
        </category>

        <root>
                <appender-ref ref="CONSOLE" />
                <appender-ref ref="FILE" />
        </root>

</log4j:configuration>